Optimal. Leaf size=197 \[ \frac{2 b x^{-3 n} (e x)^{3 n} \text{PolyLog}\left (3,-e^{c+d x^n}\right )}{d^3 e n}-\frac{2 b x^{-3 n} (e x)^{3 n} \text{PolyLog}\left (3,e^{c+d x^n}\right )}{d^3 e n}-\frac{2 b x^{-2 n} (e x)^{3 n} \text{PolyLog}\left (2,-e^{c+d x^n}\right )}{d^2 e n}+\frac{2 b x^{-2 n} (e x)^{3 n} \text{PolyLog}\left (2,e^{c+d x^n}\right )}{d^2 e n}+\frac{a (e x)^{3 n}}{3 e n}-\frac{2 b x^{-n} (e x)^{3 n} \tanh ^{-1}\left (e^{c+d x^n}\right )}{d e n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.174529, antiderivative size = 197, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 7, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.318, Rules used = {14, 5441, 5437, 4182, 2531, 2282, 6589} \[ \frac{2 b x^{-3 n} (e x)^{3 n} \text{PolyLog}\left (3,-e^{c+d x^n}\right )}{d^3 e n}-\frac{2 b x^{-3 n} (e x)^{3 n} \text{PolyLog}\left (3,e^{c+d x^n}\right )}{d^3 e n}-\frac{2 b x^{-2 n} (e x)^{3 n} \text{PolyLog}\left (2,-e^{c+d x^n}\right )}{d^2 e n}+\frac{2 b x^{-2 n} (e x)^{3 n} \text{PolyLog}\left (2,e^{c+d x^n}\right )}{d^2 e n}+\frac{a (e x)^{3 n}}{3 e n}-\frac{2 b x^{-n} (e x)^{3 n} \tanh ^{-1}\left (e^{c+d x^n}\right )}{d e n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 5441
Rule 5437
Rule 4182
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int (e x)^{-1+3 n} \left (a+b \text{csch}\left (c+d x^n\right )\right ) \, dx &=\int \left (a (e x)^{-1+3 n}+b (e x)^{-1+3 n} \text{csch}\left (c+d x^n\right )\right ) \, dx\\ &=\frac{a (e x)^{3 n}}{3 e n}+b \int (e x)^{-1+3 n} \text{csch}\left (c+d x^n\right ) \, dx\\ &=\frac{a (e x)^{3 n}}{3 e n}+\frac{\left (b x^{-3 n} (e x)^{3 n}\right ) \int x^{-1+3 n} \text{csch}\left (c+d x^n\right ) \, dx}{e}\\ &=\frac{a (e x)^{3 n}}{3 e n}+\frac{\left (b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int x^2 \text{csch}(c+d x) \, dx,x,x^n\right )}{e n}\\ &=\frac{a (e x)^{3 n}}{3 e n}-\frac{2 b x^{-n} (e x)^{3 n} \tanh ^{-1}\left (e^{c+d x^n}\right )}{d e n}-\frac{\left (2 b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int x \log \left (1-e^{c+d x}\right ) \, dx,x,x^n\right )}{d e n}+\frac{\left (2 b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int x \log \left (1+e^{c+d x}\right ) \, dx,x,x^n\right )}{d e n}\\ &=\frac{a (e x)^{3 n}}{3 e n}-\frac{2 b x^{-n} (e x)^{3 n} \tanh ^{-1}\left (e^{c+d x^n}\right )}{d e n}-\frac{2 b x^{-2 n} (e x)^{3 n} \text{Li}_2\left (-e^{c+d x^n}\right )}{d^2 e n}+\frac{2 b x^{-2 n} (e x)^{3 n} \text{Li}_2\left (e^{c+d x^n}\right )}{d^2 e n}+\frac{\left (2 b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (-e^{c+d x}\right ) \, dx,x,x^n\right )}{d^2 e n}-\frac{\left (2 b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (e^{c+d x}\right ) \, dx,x,x^n\right )}{d^2 e n}\\ &=\frac{a (e x)^{3 n}}{3 e n}-\frac{2 b x^{-n} (e x)^{3 n} \tanh ^{-1}\left (e^{c+d x^n}\right )}{d e n}-\frac{2 b x^{-2 n} (e x)^{3 n} \text{Li}_2\left (-e^{c+d x^n}\right )}{d^2 e n}+\frac{2 b x^{-2 n} (e x)^{3 n} \text{Li}_2\left (e^{c+d x^n}\right )}{d^2 e n}+\frac{\left (2 b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{c+d x^n}\right )}{d^3 e n}-\frac{\left (2 b x^{-3 n} (e x)^{3 n}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{c+d x^n}\right )}{d^3 e n}\\ &=\frac{a (e x)^{3 n}}{3 e n}-\frac{2 b x^{-n} (e x)^{3 n} \tanh ^{-1}\left (e^{c+d x^n}\right )}{d e n}-\frac{2 b x^{-2 n} (e x)^{3 n} \text{Li}_2\left (-e^{c+d x^n}\right )}{d^2 e n}+\frac{2 b x^{-2 n} (e x)^{3 n} \text{Li}_2\left (e^{c+d x^n}\right )}{d^2 e n}+\frac{2 b x^{-3 n} (e x)^{3 n} \text{Li}_3\left (-e^{c+d x^n}\right )}{d^3 e n}-\frac{2 b x^{-3 n} (e x)^{3 n} \text{Li}_3\left (e^{c+d x^n}\right )}{d^3 e n}\\ \end{align*}
Mathematica [F] time = 27.4874, size = 0, normalized size = 0. \[ \int (e x)^{-1+3 n} \left (a+b \text{csch}\left (c+d x^n\right )\right ) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.264, size = 0, normalized size = 0. \begin{align*} \int \left ( ex \right ) ^{-1+3\,n} \left ( a+b{\rm csch} \left (c+d{x}^{n}\right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 2.14392, size = 3085, normalized size = 15.66 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{3 n - 1} \left (a + b \operatorname{csch}{\left (c + d x^{n} \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \operatorname{csch}\left (d x^{n} + c\right ) + a\right )} \left (e x\right )^{3 \, n - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]